﻿using Abp.Domain.Entities;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace GN.Pay.Core.Entities
{
   [Table("System_ConstantGroup")]
    [Serializable]
    public class SystemConstantGroup:Entity
    {
        //组名称
        [Required]
        [StringLength(maximumLength:20)]
        public string GroupName { get; set; }
        //组说明
        [StringLength(maximumLength:300)]
        public string GroupExplain { get; set; }

        [ForeignKey("GroupId")]
        //与常量表一对多关系
        public virtual ICollection<SystemConstant> SystemConstants { get; set; }
    }
}
